package com.itheima.day13.Xianchengchi;

import cn.hutool.core.thread.ExecutorBuilder;

import java.lang.reflect.Executable;
import java.util.concurrent.*;

public class Test {
    ExecutorService executorService = new ThreadPoolExecutor(
            3,
            5,
            1000,
            TimeUnit.SECONDS,
            new ArrayBlockingQueue<>(4),
            Executors.defaultThreadFactory(),
            new ThreadPoolExecutor.AbortPolicy()
    );
}
